/**
 * 
 */
var columns = [
    [
        { field: "HouseDoorplate", title: "我有筛选1", align: "center" ,editor:{screen:true,url:'123',name:'1'}},
        { field: "HouseDoorplate", title: "我有筛选2", align: "center" ,editor:{screen:true,url:'123',name:'1'}},
        { field: "HouseNo", title: "我没有", align: "center"},
    ]
];
var data = {
    total:11,rows:[{HouseNo:1,HouseDoorplate:3}]
}

$(function(){
    $('#dg').datagrid({  
        url:'/users',  
        columns: columns,
        checkOnSelect: true,
        height: '300',
        idField: "id",
        striped: true,
        singleSelect: true,
        fitColumns: false,
        fit: false,
        loadMsg: false,
        nowrap: false,
        rownumbers: true, //行号
        pagination: true, //分页控件
        pageSize: 10,
        pageList: [10, 50, 100, 500, 1000, 2000, 10000],
        showFooter: true,  
        // loader: function (param, success, error) {
        //     success(data);
        // }
    }); 
})